page {
  height: 100%;
  background: #fff;
}

.fill-address {
  height: 100vh;
  overflow-y: auto;
  background: #fff;
  display: flex;
  flex-direction: column;

  .content {
    flex: 1;
    padding: 32px 24px;
    box-sizing: border-box;

    .form-item {
      margin-bottom: 24px;

      .label {
        font-size: 16px;
        color: #333;
        margin-bottom: 8px;
      }

      .input {
        width: 100%;
        height: 36px;
        background: #F5F5F5;
        border-radius: 8px;
        padding: 0 20px;
        box-sizing: border-box;
        font-size: 14px;

        &[disabled] {
          opacity: 0.7;
        }
      }

      .placeholder {
        color: #999;
      }
    }

    .unit-room {
      display: flex;
      align-items: center;

      .unit {
        flex: 0 0 160px;
      }

      .separator {
        margin: 0 16px;
        color: #333;
        font-size: 16px;
      }

      .room {
        flex: 1;
      }
    }

    .tips {
      font-size: 14px;
      color: #999;
      line-height: 1.5;
    }
  }

  .footer {
    padding: 24px;
    border-top: 1px solid #F5F5F5;
    background: #fff;

    .button-group {
      display: flex;
      gap: 12px;
    }

    .btn {
      width: 100%;
      height: 44px;
      border-radius: 8px;
      font-size: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;

      .button-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 4px 0;

        .text {
          font-size: 16px;
          font-weight: 500;
        }
      }

      &.btn-edit {
        background: var(--nutui-color-primary);
        font-weight: bold;
        color: #fff;
      }

      &.btn-save {
        background: var(--nutui-color-primary);
        color: #fff;
      }

      &.btn-cancel {
        background: #f7f7f7;
        color: #333;
      }
    }
  }
}
